﻿
namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// 配置表
    /// </summary>
    [SugarTable("cks_config")]
    [Table(Name = "cks_config")]
    public class CksConfig 
    {
        /// <summary>
        /// 配置id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column(IsPrimary =true,IsIdentity =true)]
        public int ConfigId { get; set; }

        /// <summary>
        /// 参数名称 
        /// </summary>
        public string ConfigName { get; set; }

        /// <summary>
        /// 参数键名 
        /// </summary>
        public string ConfigKey { get; set; }

        /// <summary>
        /// 参数键值 
        /// </summary>
        public string ConfigValue { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        [SugarColumn(ColumnName = "create_by")]
        [Column(Name = "create_by")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        [SugarColumn(ColumnName = "create_time")]
        [Column(Name = "create_time")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        [SugarColumn(ColumnName = "update_by")]
        [Column(Name = "update_by")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        [SugarColumn(ColumnName = "update_time")]
        [Column(Name = "update_time")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// Remark 
        /// </summary>
        public string Remark { get; set; }

    }
}